<template>
    <el-container class="auth-create">
        <el-aside width="210px">
            <auth-tree></auth-tree>
        </el-aside>
        <el-main>
            <auth-detail v-show="is_auth_detail_show"></auth-detail>
        </el-main>
    </el-container>
</template>

<script>
import AuthTree from './tree.vue'
import AuthDetail from './detail.vue'
import { mapGetters } from 'vuex';

export default {
    name: 'create-auth',
    components: {
        AuthTree,
        AuthDetail
    },
    computed: {
        ...mapGetters('authcreate', ['is_auth_detail_show'])
    }
}
</script>

<style>
.auth-create {
    width: 100%;
    height: calc(100% - 56px);
    margin-top: 56px;
}
</style>
